package com.example.grpc.openapi.request;

import java.io.Serializable;

public class CreateRequest implements Serializable {
    private static final long serialVersionUID = -5299461976662697975L;

    /**
     * 名
     */
    private String name;

    /**
     * 备注
     */
    private String comment;

    public CreateRequest(String name, String comment) {
        this.name = name;
        this.comment = comment;
    }

    public String getName() {
        return name;
    }

    public String getComment() {
        return comment;
    }

    @Override
    public String toString() {
        return "CreateRequest{" +
                "name='" + name + '\'' +
                ", comment='" + comment + '\'' +
                '}';
    }
}
